using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(fileName = "Effect05-目标棋子被禁用", menuName = "Skill/Effect/Effect05-目标棋子被禁用", order = 5)]
public class Effect05 : EffectBase
{
    public override void Apply(Pair pair, GameEvent e, List<Chess> targets)
    {
        if(targets == null) return;
        foreach (var target in targets)
        {
            target.SetChessCanUse(false);
        }
    }
}